That should be done by the parent, not the child. There are more than enough tools for a parent to police what their child sees online.
The problem is that parents aren’t trusted to do their job by some and some want the government to step in and do as much parenting as possible. That’s not how parenting works though. The government doesn’t own your children and shouldn’t get to decide how they’re raised.