I think perhaps you are referring to the new age verification laws being passed in many states, in the US.
It is part of a conservative political movement, which has passed in several states.
However, as far as I understand, it's just a quick ID check or something of that nature, and it's only if you live in certain areas.
But it does freak some people out initially... from what I read.
Age verification laws are the “latest strategy in a long battle” against pornography, experts say. Here’s what they do in states that have enacted them.
19thnews.org