It would probably be best to get a new tank, all things considered here.
However, as someone coming from aquariums first, in a lot of cases the plastic border at the top is about 50% decoration, 40% use for supporting a lid, and maybe 10% actually used for structural integrity. A lot of mods to smaller tanks (29 and smaller) involve permanently removing that top piece of plastic for a tank holding water. As long as the silicone was in good shape, that wouldn't concern me at all to have part missing or removed on a non-aquarium.
It does look like heat or cold or both has destroyed most of the integrity of the silicone, though, so the plastic is probably doing more to hold it together here than normal. I'm not even sure I would trust that as-isto keep things safe for any animal without re-doing the silicone.
Sent from my SM-G950U using Tapatalk