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.