; and (B) the attorney general of the State (or comparable Tribal official) has submitted a written certification to the Assistant Attorney General stating that the law of the State or Indian Tribe reflects the sense of Congress in section 922(z)(4)(D) of such title 18. (2) First year eligibility exception (A) In general A covered State or Indian Tribe shall be eligible to receive a grant under this section during the 1-year period beginning on the date of enactment of this part. (B) Covered State or Indian Tribe In this paragraph, the term covered State or Indian Tribe means a State or Indian Tribe that, before the date of enactment of this part, enacted a law— (i) that is functionally identical to section 922(z)(4) of title 18, United States Code; and (ii) for which the attorney general of the State (or comparable Tribal official) submits a written certification to the Assistant Attorney General stating that the law of the State or Indian Tribe reflects the sense of Congress in section 922(z)(4)(D) of such title 18. (c) Use of funds Funds awarded under this section may be used by a State or Indian Tribe to assist law enforcement agencies or the courts of the State or Indian Tribe in enforcing and otherwise facilitating compliance with any State or Tribal law functionally identical to section 922(z)(4) of title 18, United States Code. (d) Application An eligible State or Indian Tribe desiring a grant under this section shall submit to the Assistant Attorney General an application at such time, in such manner, and containing or accompanied by such information, as the Assistant Attorney General may reasonably require. (e) Incentives For each of fiscal years 2023 through 2027, the Attorney General shall give affirmative preference to all Bureau of Justice Assistance discretionary grant applications of a State or Indian Tribe that has enacted a law— (1) functionally identical to section 922(z)(4) of title 18, United States Code