The legislation is designed to scale back not solely inflation but additionally carbon emissions and prescription drug prices