These laws don't violate the privacy of every computer user. They say that a parent shall be able to mark a child's account as being under 18, and apps shall respect that.
Meta seems to be behind a lot of lobbying for this and they're the kind of company who does nonconsensual psychological experiments on their users: https://www.forbes.com/sites/kashmirhill/2014/06/28/facebook...