It will come down to people committing to working a little harder to do things "right" in their computing.
Bad technology like this exists in part because people are using it.
We don't need legislation we need public awareness to translate into public action.