You are underthinking this.
You described a technical solution to comply with this law. Yes, that's easy. The problem is the legal implications.
What are the legal implications?
What are the legal implications?