Irrelevant. Sensible tenancy laws are important but are unrelated to discussions of housing affordability.
To fix the affordability crisis the long term solution is to address the structural issues caused by imbalanced supply vs demand as result of market distortions.