(1)Subject to the provisions of this section, any provision contained in a trust deed for securing an issue of debentures, or in any contract with the holders of debentures secured by a trust deed, shall be void in so far as it would have the effect of exempting a trustee thereof from, or indemnifying him against, liability for breach of trust, where he fails to show the degree of care and diligence required of him as trustee, having regard to the provisions of the trust deed conferring on him any powers, authorities or discretions.