A switch taking effect Jan. 1 will make prescription drugs more affordable for Americans on Medicare.