Notwithstanding any other provision of law, all bonds sold and delivered pursuant to this chapter are legal investments for all trust funds and for the funds of all insurance companies, banks, both commercial and savings, trust companies, the state school funds, and any public or private funds which may be invested in county, municipal, or community college district bonds, and may be deposited as security for the performance of any act whenever the bonds of any county, municipality, or community college district may be so deposited, and may also be used as security for the deposit of public moneys in banks in this state.