Analytical Solutions and Integrable Structure of the Time-Dependent Harmonic Oscillator With Friction