Time-dependent effects of heat advection and topography on cooling histories during erosion