That's definitely the kind of thing we all knew ahead when we were 13-17.
I distinctly remember elementary school classes, some 25 years ago where we had to learn about computer safety and privacy, and what the possible consequences of posting things online could be. We were <10 years old and we understood.
I also remember a lot of kids in class working on their html website.
I don't see why we should have lower standards for kids today, it's so sad how it all turned out.
A teen wanting to discretely inform themselves on, let's say, sexual orientation, need to be careful about e.g. their Windows account and/or use a public device, mind their Chrome/Edge/... account, use another search engine than Google, use porn mode, be sure that the page they visit is not using Twitter/Google/Facebook/... trackers, clear cookies, clear profile, be careful with device fingerprinting, browser fingerprinting, etc.
At some point, this is a losing battle.
Hasn't happened yet. At least the not freaking out part hasn't.
Most of them are keenly aware of exactly how information is shared or leaked. They know that if they do something stupid in public, there is a good chance of someone catching it on video, it being published, and them being teased or punished for it.
Perhaps those born in the 80's might have been happy to do something illegal or stupid as long as it was only trusted friends looking on. But those born in the 2000's won't do something like that even with the audience being just trusted friends for fear of evidence spreading later. They all know how to screenshot a snap message without being detected...