Notwithstanding any restrictions or limitations contained in any law of this state, the deposit accounts of any state savings bank or of any federal savings bank having its principal office in this state, may be accepted by any agency, department or official of this state in any case wherein such agency, department or official acting in its or his official capacity requires that securities be deposited with such agency, department or official.