I reversed a life-long case of Prosopagnosia after doing some n-of-1 experiments with replenishing my gut bacteria, so it seems plausible to me that losing intestines could impact this.
I also have a friend had her intestines removed due to Crohn's disease. She had an infection from the surgery that put her in a coma she woke up unable to picture things in her head. Hard to say what caused it.
I'd start in the gut, considering the cells are quite similar.