Actually, on my system it is the first version (with functions on the outside) that does not work, but it is easy to fix: just write
Sol2 = Simplify[First@DSolve[{Eqn1, IC1, IC2}, f[t], t]]
instead of
Sol2 = Simplify[DSolve[{Eqn1, IC1, IC2}, f[t], t]]
A part from this, they both show an oscillating mass attached to a spring. At first sight I can't detect a difference or anything wrong.