Hello

If you don't change them I would measure the legs and just bring the wires out to an external board to you can set up fixed or stepped attenuation using soldered resistors. Any pot is going...