That's the kind of feel-good law that ends up very unenforceable because it ignores technical reality. Not a fan.
If the exact same action does the exact same harm and is legal or illegal based on intent, enforcing that law is going to enrich a lot of lawyers but isn't going to practically rope in many company's behaviors.