Any provision of a lease or other agreement in which a provision of section 504B.381 or sections 504B.395 to 504B.471 is waived by a residential tenant is contrary to public policy and void.