(a) In the discretion of the authority, any bonds issued under the provisions of this division may be secured by a trust agreement by and between the authority and a trustee or trustees, which may be any trust company or bank having the powers of a trust company within or without the state. The trust agreement or the resolution providing for the issuance of bonds may pledge or assign the revenues to be received or proceeds of any contract or contracts pledged and may convey or mortgage the project or projects, or any portion thereof, to be financed out of the proceeds of bonds. The trust agreement or resolution providing for the issuance of bonds may contain provisions for protecting and enforcing the rights and remedies of the bondholders, or any provider of credit enhancement, as may
be reasonable and proper and not in violation of law, including particular provisions as have hereinabove been specifically authorized to be included in any resolution or resolutions of the authority authorizing bonds thereof. Any bank or trust company doing business under the laws of this state that may act as depository of the proceeds of bonds or of revenues or other moneys may furnish these indemnifying bonds or pledge securities as may be required by the authority. Any trust agreement may set forth the rights and remedies of the bondholders and of the trustee or trustees, and may restrict the individual right of action by bondholders or any provider of credit enhancement. In addition to the foregoing, any trust agreement or resolution may contain other provisions as the authority may deem reasonable and proper for the security of the bondholders. Notwithstanding any other law, the Treasurer shall not be deemed to have a conflict of interest by reason of acting as trustee pursuant to this division.
(b) All expenses incurred in carrying out the provisions of a trust agreement or resolution may be treated as a part of the cost of the operation of a project.