The text of the law pertaining to this:
There are no known permitting requirements for donors of food
scraps. It is, however, important that you find a farmer that has a
permit to accept commercial food scraps for feeding to livestock. The
1980 federal Swine Health Protection Act requires that farmers boil any
food scraps containing meat before they can be used as livestock feed.
State laws regarding treatment of nonmeat scraps used as animal feed
vary; some states require that the scraps be boiled, while others impose
no regulations. Some states prohibit scraps from cafeterias,
restaurants, or grocery stores from being fed to animals. Check with
your state veterinarian to find out if reusing food scraps as animal
feed is permitted in your state.
http://www.epa.gov/epawaste/partnerships/wastewise/pubs/farm.txt