OK yes the foam should work.
A nonconductive bracket with a say a 1/16 x 1/18 groove would work also, kind of like those enclosures with the grooves to slide in a PCB.
A nonconductive bracket with a say a 1/16 x 1/18 groove would work also, kind of like those enclosures with the grooves to slide in a PCB.