(4) to maintain the premises and all common areas in compliance with the applicable health and safety laws of the United States, of the state, and of the local units of government, including ordinances regulating rental licensing, where the premises are located during the term of the lease or license, except when violation of the health and safety laws has been caused by the willful, malicious, or irresponsible conduct of the tenant or licensee or a person under the direction or control of the tenant or licensee; and