Distinct dynamic regimes in a material system with optically modulated diffusivity