All funds accruing to a special account established pursuant to the next preceding section, or deposited therein, in compliance with the terms and provisions of any contract with the department constitute a trust fund for the purpose of making payments to the department as provided in the contract.