; and (B) by striking Nothing in the previous sentence and inserting Nothing in this subparagraph ; and (2) in subparagraph (D)— (A) by inserting after PDP region the following: or through use of an intelligent assignment process that is designed to maximize the access of such individual to necessary prescription drugs while minimizing costs to such individual and to the program under this part to the greatest extent possible. In the case the Secretary enrolls such individuals through use of an intelligent assignment process, such process shall take into account the extent to which prescription drugs necessary for the individual are covered in the case of a PDP sponsor of a prescription drug plan that uses a formulary, the use of prior authorization or other restrictions on access to coverage of such prescription drugs by such a sponsor, and the overall quality of a prescription drug plan as measured by quality ratings established by the Secretary ; and (B) by striking Nothing in the previous sentence and inserting Nothing in this subparagraph . (b) Effective date The amendments made by subsection (a) shall apply with respect to plan years beginning with plan year 2022.