Google glasses, I think it’s death was mainly because it looks nerdy aside of course the huge privacy concerns. Which honestly don’t exist now. Look at twitch streamers streaming everywhere. People installing cameras at their home and connected to the net for the world to see. Now we are going hard with VR/AR even Apple has a product for it.
Or you do the right thing re-write or refactor, apply the latest practice add some tests to it. This way you won’t have a black box anymore. Who knows there might be a hidden bug there that might be a huge security issue and could bite you back in the future.