If it’s going to be so “tricky” to write such a law, then don’t. Not every problem needs a government solution.
Needed said again, bigger, bolder, and underlined.