In general
This section shall not apply to so much of the qualified wages paid by an eligible employer as are taken into account as payroll costs in connection with—
(A) a covered loan under section 7(a)(37) or 7A of the Small Business Act,
(B) a grant under section 324 of the Economic Aid to Hard-Hit Small Businesses, Non-Profits, and Venues Act, or
(C) a restaurant revitalization grant under section 5003 of the American Rescue Plan Act of 2021.