That legislation would only apply to entities following the law, though.
Laws always apply to the people to whom they are written to apply to. It is true that some people don't follow some laws. Presumably violating the law carries some penalty if caught. This does not affect whether or not said law is efficacious or needed.