Logarithmic coarsening and glassy behavior in a polymer model with mass-dependent diffusion