Nonsense bills get introduced all the time. I’m not saying this shouldn’t be taken seriously, but this eventually getting codified is a long shot.
There are so many issues with how this can work in practice. Best case it just asks how old you are like a website that shows mature content, and the user lies. So from a liability perspective that shifts it to the user who gave false information. Beyond that there’s no practical way to actually verify someone’s age at the OS level.