It shall be unlawful for any license agreement which provides for a fee or other payment to the distributor based in whole or in part on the attendance or the box office receipts at a theatre within the state to contain or be conditioned upon a guarantee of a minimum payment to the distributor.
(2)  Any provision, agreement or understanding which provides for such a guarantee shall be void, and any purported waiver of the prohibition in subsection (1) of section 4 of this act shall be void and unenforceable.