Securities pledged as provided in section 8-209 shall be primarily liable for the obligations of the trust company, state or national bank, federal savings association, federally chartered trust company, out-of-state trust company authorized under the Interstate Trust Company Office Act or otherwise doing business in this state, or an out-of-state entity acting in a fiduciary capacity in this state, incurred while acting in any fiduciary capacity, for depository of money in court, and for losses arising from trust funds deposited with failed financial institutions in excess of deposit insurance limits and shall not be liable for any other debt or obligation of the financial institution or out-of-state entity until all such trust liabilities have been discharged.