Entering into a tenancy agreement which includes a clause that will be against the law in a few months Good morning all,

I'm reading over my tenancy agreement and at the end of the tenancy it requires the tenants to pay a £120 inventory fee.

However  as far as I'm aware the the Tenancy fees act 2019 comes into effect  during my tenancy which forbids charging inventory and administration fees, amongst other things (as far as understand)

So my question is, if i sign a document now before the law comes into  effect, will i still be on the hook for things like the inventory fee  after the law comes into effect? Or will it be forbidden for the letting  agents to enforce that clause following the law coming into effect?

Hopefully this is coherent

Thanks in advance