If you just need to replace the rubber part and nothing falls off when you remove it, I would use black silicone sealant in its place.
If you just need to replace the rubber part and nothing falls off when you remove it, I would use black silicone sealant in its place.