; and (C) by moving the left margin 2 ems to the left. (3) Effective date The amendments made by this subsection apply to contracts between States and managed care entities, other specified entities, or pharmacy benefits managers that are entered into or renewed on or after the date that is 18 months after the date of enactment of this Act. (b) Ensuring accurate payments to pharmacies under Medicaid (1) In general Section 1927(f) of the Social Security Act ( 42 U.S.C. 1396r–8(f) ) is amended— (A) by striking and after the semicolon at the end of paragraph (1)(A)(i) and all that precedes it through (1) and inserting the following: (1) Determining pharmacy actual acquisition costs The Secretary shall conduct a survey of retail community pharmacy drug prices to determine the national average drug acquisition cost as follows: (A) Use of vendor The Secretary may contract services for— (i) with respect to retail community pharmacies, the determination of retail survey prices of the national average drug acquisition cost for covered outpatient drugs based on a monthly survey of such pharmacies; and