That doesn't match what I've seen in UK politics.
https://www.bbc.co.uk/news/articles/c0epennv98lo
https://www.lbc.co.uk/article/digital-id-cards-ill-stop-ille...
Terrorism still crops up occasionally but the rhetoric has certainly expanded.
Don’t be deceived - huge amounts of lobbying went into this, because some savvy entrepreneurs saw a market to sell age-verification services. The key driver behind the laws is more about creating that market than actual child protection - if they were actually interested in that, they wouldn’t be pushing things that are clearly so ineffective (but expensive).
1. https://www.gov.uk/government/publications/safer-technology-...