(a) No impeachment.--No act of administration performed by a testamentary trustee in good faith shall be impeached by the subsequent:
(1) revocation of the probate of the will from which the trustee derives authority;
(2) probate of a later will or of a codicil; or
(3) dismissal of the trustee.
(b) Good faith dealings.--Regardless of the good or bad faith of the testamentary trustee, no person who deals in good faith with a testamentary trustee shall be prejudiced by the occurrence of any of the contingencies set forth in subsection (a).