A credit union may act as a trustee or custodian, for which reasonable compensation may be received, under any written trust instrument or custodial agreement created or organized in the United States and forming part of a tax-advantaged savings plan that qualifies for specific tax treatment under sections 223, 401(d), 408, 408A, and 530 of the Internal Revenue Code, 26 U.S.C. 223, 26 U.S.C. 401(d), 26 U.S.C. 408, 26 U.S.C. 408A, and 26 U.S.C. 530, as amended, for its members or groups of its members, provided that the funds of such plans are invested in share accounts or share certificate accounts of the credit union. These services include, but are not limited to, acting as a trustee or custodian for member retirement, education, or health savings accounts.