Notwithstanding any other provision of this code, whenever any provision of the Financial Institutions Law requires the pledge of securities to be deposited with the Treasurer, to ensure the performance of any act or duty, the securities after first being approved by the commissioner and upon the written order of the commissioner, shall be deposited with the Treasurer. The Treasurer, with the consent of the owner of the securities deposited or to be deposited with the Treasurer, may place the securities in the custody of a qualified trust company or bank in the same manner and under the same conditions provided in Article 3 (commencing with Section 16550) of Chapter 4 of Part 2 of Division 4 of Title 2 of the Government Code.