Technically the act passed in 2023 under the Sunak government.
That said; I can't seem to find a vote breakdown and I would not be at all surprised if labour also backed it.
I'm hoping enough public dissatisfaction leads to labour repealing it but I won't hold my breath.