No, it 100% hasn’t. You are wrong. The invasion of privacy is the punishable part. Not the speech. IT’s content neutral, except in that if you invaded, you get punished, and if you spread that invasion, you get punished worse, and you’re responsible for consequences.