https://www.sageadvice.eu/does-a-wizard-with-the-keen-mind-feat-have-unrestricted-prepared-spells/
Does a wizard with the Keen Mind feat have unrestricted prepared spells?