The moneys collected by the commissioner in a proceeding under this chapter, shall be, from time to time, deposited in one or more state or national banks, savings banks, or trust companies, and in the case of the insolvency or voluntary or involuntary liquidation of any such depositary which is an institution organized and supervised under the laws of this state, such deposits shall be entitled to priority of payment on an equality with any other priority given by the banking law of this state. The commissioner may in his or her discretion deposit such moneys or any part thereof in a national bank or trust company as a trust fund.