The act includes measures to make good on decades of congressional promises to curb the price of prescription drugs.