HR-10877 is a proposed bill that would amend the Internal Revenue Code of 1986. Its title describes a credit against the federal excise tax on beer for brewers that donate spent grain for local agricultural use; that is the stated goal, not a guaranteed outcome. The bill text was not supplied, so the exact legal change cannot be verified. It has been referred to the House Committee on Ways and Means and is not law.
No cost information is in the available material.