My view is similar. I don't know that it's legislation, but regulation is certainly possible by code. If we're working with big corporate providers that have the power to write the code and control the code, as they currently do, they already can filter code as it's uploaded. It's entirely possible.
Of course, in the U.S. it's called “censorship” and you can't have that, as it's against free speech, so there are issues there. Let's think about Canada. We could easily have a filtration system that parses or reads the code—image, text, video—as it's uploaded. It's coded based on a scale, so the scale has to be set up. It can interface with an age-based system much like they do in video gaming when you go on those sites. Also, it can be verified if there's access to the age of the individual who's doing the work, which means disclosing something other than having the person put in their fake age. You would actually have access to some kind of metadata that confirms the age of the user. These are all possible to do currently.