Are Google Takeout Scripts Safe to Run?
Read what they do before running them on an only copy, and run them on a copy regardless.
Most are written in good faith by people solving their own problem. That does not make them safe for your library, because they were tested on one export and yours is different.
The risk is rarely malice. It is a script that writes to the originals with no undo, and a case its author never hit, silently skipping or overwriting a few thousand photos.
Whatever you use, work on a copy. Takeout JSON Metadata Fixer writes to a new folder and leaves your originals alone. It runs on your own computer and is free for your first 500 photos.