In general
Notwithstanding any other provision of Federal law, the law of any State, or the constitution of any State, the Corporation, upon the payment to any depositor as provided in subsection (f) in connection with any insured depository institution or insured branch described in such subsection or the assumption of any deposit in such institution or branch by another insured depository institution pursuant to this section or section 1823 of this title , shall be subrogated to all rights of the depositor against such institution or branch to the extent of such payment or assumption.