Probing Ultrafast Laser-Induced Spin Dynamics In Magnetic Heterostructures Using Time Domain Terahertz Spectroscopy