The Consolidated Appropriations Act, 2021, specifically allows businesses to deduct all of their expenses to the extent otherwise allowed under tax law. This includes expenses covered by PPP loans that are forgiven.
A tax credit directly reduces tax liability, as opposed to a deduction that reduces income subject to tax.