Influence of substrate exposure history on biodegradation in a porous medium.