I don't deny that kids can get into trouble and find shocking or dangerous things online. But kids can also get in trouble walking down the street. We should not close streets or require ID checks for walking down them. Parents should teach their kids how to be safe online, set up network blocks for particularly bad sites, and have some kind of oversight for what their kids are doing.
Maybe these bills should mandate that sites have the ability to create "kid" accounts whose history can be checked and access to certain features can be managed by an associated "parent" account. Give parents better tools for keeping their kids safe, don't just give the government control over all internet traffic.