Read the GDPR, especially:
https://gdpr-info.eu/
Article 4 Definitions
Article 6 Lawfulness of Processing
Article 8 Childs Consent
Article 12 Transparency
Article 15 Right of access
Article 16 Right of Rectification
Article 17 Right of erasure
Be unhappy about the duplication of code