USC researchers found that nutrient-rich food activated a gut-to-brain pathway tied to memory, while long-term unhealthy diets weakened the response.