; repayment (a) Grants to States There is hereby authorized to be appropriated $50,000,000 to the Director for the establishment of a fund to be administered by the Agency for providing grants to States, on application to the Agency, to facilitate participation in the Repository by any depositor or participant or class of depositors or participants, or any other person upon appropriate demonstration to the Agency that such a grant would assist in the accomplishment of the purposes of this subtitle. Any such amounts appropriated and not granted by the Agency within five years of the date of the enactment of this Act shall be returned to the Treasury of the United States. (b) Repayment The Director shall cause to be collected from the Exchange and deposit in the Treasury of the United States an amount equal to the aggregate amount provided as grants to States pursuant to subsection (a) within the 10-year period beginning on the date that the first grant is made pursuant to subsection (a). 334. Judicial review Except as otherwise expressly provided under this subtitle, no person other than the Director or the Attorney General of the United States, or any duly authorized representative of the Director or the Attorney General, may proceed against the Repository in any State or Federal court. The prohibition in the preceding sentence shall not apply to a civil action against the Repository or any duly authorized agent thereof for breach of a contract, including breach of a representation or warranty, or breach of privacy related to data collected and maintained by the Repository or any duly authorized agent thereof. 335. Transition provisions (a) In general The Agency shall provide for a transition period to permit the efficient implementation of the provisions of this subtitle. Such transition may include periods for testing, early adoption, and final mandatory adoption for all recorded mortgages. (b) Electronic Submissions The Repository shall accept electronic submissions and paper-based documents submitted