You mean the optical cover? For that, you can use a sticky rubber feet with slightly larger diameter to cover it, it’s only prevent dust for getting inside the port.
If it's a different, then take a picture of where the cover has to go and post it back, so we'll have a better idea of what it is you need.