Only check preferred version if condensed id
Move functions to a common lib

Caution, this may break stuff.

Please help test.
Initial support for Game Rewind
Fix gamepass login, indentation problem
Localize strings
Fix my previous "fix." This time for *both* GamePass and Rewind.