Legal Issues in the Data Pre-Processing Phase