; and (B) by inserting before the period at the end the following: , and (V) pharmacy benefit management services provided by the entity, or provided by a pharmacy benefit manager on behalf of the entity under a contract or other arrangement between the entity and the pharmacy benefit manager, shall comply with the requirements of section 1927(e)(6) . (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) Survey of retail prices (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) Survey of retail prices The Secretary shall conduct a survey of retail community drug prices, to include at least 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 on a monthly basis of retail survey prices of the national average drug acquisition cost for covered outpatient drugs for such pharmacies, net of all discounts and rebates (to the extent any information with respect to such discounts and rebates is available), the average reimbursement received for such drugs by such pharmacies from all sources of payment, including third parties, and, to the extent available, the usual and customary charges to consumers for such drugs; and