Diffusion-limited reactions in dynamic heterogeneous media