butyl ribbon sealer is used on such locations - old cars from the 60s had such on the tail lights too to prevent rusting on their cavities. this was because foam and rubber tech was not that good back then, mehran parts are funny and dont fit nice - so its ok to use butyl sealer (its ancient, its cheap and it works 100% every single time - its messy though)