No insured depository institution shall invest in the capital stock of a bank service company that performs any service under authority of subsection (c), (d), or (e) of section
1864 of this title without prior notice, as determined by the appropriate Federal banking agency for the insured depository institution.