Requiring all online account creation to go through some government vouching system sounds far worse for privacy than OS doing age verification.
Source? Another commenter claims the opposite: https://news.ycombinator.com/item?id=47416653
Even if they used an open source zero knowledge proof, HN will still immediately dismiss it as an attempt to steal your data. The proposal here and the similar bill that passed in California doesn't require any validation that you enter you age correctly.