Maran the Beit Yosef wrote, tevilah is obligated only when the food touches the metal, like the vessels of Midian. And the Gra set out in the view of Maran, that everything follows the place of the food's contact with the vessel. According to all views a trivet is exempt, because the food does not touch the vessel at all.