The receipt by an executor or any trustee, whether under a will or other instrument, for any money payable to him in the execution of his trust shall discharge the person paying it from any liability to see to the application of the money, unless otherwise expressly provided in the instrument which creates the trust.