; (2) $14,000,000 for grants for long-term care staffing and technology, as authorized by section 2041(d) of the Social Security Act ( 42 U.S.C. 1397m(d) ); (3) $123,000,000 for adult protective services functions and grants, as authorized by sections 2042(a)(2), 2042(b)(5), and 2042(c)(6) of the Social Security Act (42 U.S.C. 1397m—1); (4) $18,000,000 for long-term care ombudsman program grants and training, as authorized by sections 2043(a)(2) and 2043(b)(2) of the Social Security Act (42 U.S.C. 1397m—2); (5) $14,000,000 for investigation systems and training, as authorized by sections 6703(b)(1)(C) and 6703(b)(2)(C) of the Patient Protection and Affordable Care Act (42 U.S.C. 1395i—3a(b))