Since the purchase options are available as "games", maybe make it so that if you mark a Game Pass for PC or Game Pass Ultimate subscription as "owned", all the games included (which are already itemized at https://gg.deals/subscription/xbox-game-pass-for-pc-1-month/) are automatically marked as "owned" in the Microsoft Store.
And for extra bookkeeping brownie points, if a game is deleted from the list because it removed from the sub, the "owned" mark could be remove automatically as well.