18 USC 333 is written to prohibit the malicious destruction of currency, and 18 USC 475 is written to prevent currency from becoming a vehicle for commercial advertising, like for Burger King. Because the people who stamp their bills with a portrait of Harriet Tubman want their stamped money to stay in circulation and are stamping to express their opinions about a political issue, not to make a profit, they are good to go.