Correct but this is a different phenomenon. You are talking about post hoc justification for your behavior, where your brain is very good at making up stories that have nothing to do with the original motivation.
I believe GP is referring to the fact that the true aim of much of this legislation had nothing to do with protecting kids from the beginning. They use that rhetoric because it's easy to get people on board and much more difficult to explain the real world implications for security.