Baroness Beeban Kidron has been lobbying for stringent anti-CSAM measures in tech for years [0]. She's lead a major pressure campaign in the US, Canada, and the UK for years [1]. Her charity 5Rights and WeProtect both have been able to back Labour and the Tories so she's able to lobby across the aisles.
It doesn't hurt that the publishing company her parents founded (Pluto Press) has a strong niche in the political space.
The Molly Russell suicide also played a role [2], which she leveraged to highlight the need for restrictive anti-CSAM measures, especially as it became a top tabloid story in the UK.
[0] - https://en.m.wikipedia.org/wiki/Beeban_Kidron
[1] - https://www.politico.com/news/2023/06/14/british-baroness-on...
[2] - https://www.nytimes.com/2022/10/01/business/instagram-suicid...