Second-Order Approximation of Dynamic Models with Time-Varying Risk