Spectrally-resolved infrared stimulated vibrational echo spectroscopy is used to measure the fast dynamics of heme-bound CO in carbonmonoxy-myoglobin (MbCO) and hemoglobin (HbCO) embedded in silica sol-gel glasses. On the time scale of ~100 fs to several ps, the vibrational dephasing of the heme-bound CO is measurably slower for both MbCO and HbCO relative to aqueous protein solutions. The fast structural dynamics of MbCO, as sensed by the heme-bound CO, are influenced more by the sol-gel environment than those of HbCO. Longer time scale structural dynamics (tens of ps), as measured by the extent of spectral diffusion, are the same for both proteins encapsulated in sol-gel glasses compared to aqueous solutions. A comparison of the sol-gel experimental results to viscosity dependent vibrational echo data taken on various mixtures of water and fructose shows that the sol-gel encapsulated MbCO exhibits dynamics that are the equivalent to the protein in a solution that is nearly 20 times more viscous than bulk water. In contrast, the HbCO dephasing in the sol-gel reflects only a 2-fold increase in viscosity. Attempts to alter the encapsulating pore size by varying the molar ratio of silane precursor to water (R-value) used to prepare the sol-gel glasses were found to have no effect on the fast or steady-state spectroscopic results. The vibrational echo data are discussed in the context of solvent confinement and protein-pore wall interactions to provide insights into the influence of a confined environment on the fast structural dynamics experienced by a biomolecule.