; or (B) affording health care services, including assistance paying cost-sharing amounts, including premiums. (9) Administration and planning A State shall not use in excess of 10 percent of amounts received under a grant under section 3411 for administration, accounting, reporting, and program oversight functions, including the development of systems to improve data collection and data sharing. (10) Incarcerated individuals Amounts received under a grant under section 3411 may be used to provide substance use disorder treatment services, including medication-assisted treatment, to individuals who are currently incarcerated or in pre-trial detention. (c) Required terms (1) Requirement of status as medicaid provider (A) Provision of service Subject to subparagraph (B), the Secretary may not make a grant under section 3411 for the provision of substance use disorder treatment services under this section in a State unless, in the case of any such service that is available pursuant to the State plan approved under title XIX of the Social Security Act for the State— (i)(I) the State will enter into an agreement with a political subdivision, under which the political subdivision will provide the service directly, and the political subdivision has entered into a participation agreement under the State plan and is qualified to receive payments under such plan; or (II) the State will enter into agreements with public or nonprofit private entities under which the entities will provide the service, and the entities have entered into such a participation agreement and are qualified to receive such payments