Studying the Dynamics of Photochemical Reactions via Ultrafast Time-Resolved Infrared Spectroscopy of the Local Solvent