Due to the strongly nonlocal nature of fxc(r,r',ω), the scalar exchange and correlation (xc) kernel of the time-dependent density functional theory (TDDFT), the formula for Q the friction coefficient of an interacting electron gas (EG) for ions tends to give too large a value of Q for heavy ions in the medium- and low-density EG, if we adopt the local-density approximation (LDA) to fxc(r, r', ω), even though the formula itself is formally exact. We have rectified this unfavorable feature by reformulating the formula for Q in terms of the tensorialxc kernel of the time-dependent current-density functional theory, to which the LDA can be applied without intrinsic difficulty. Our numerical results find themselves in considerably better agreement with the experimental stopping power of Al and Au for slow ions than those previously obtained within the LDA to the TDDFT.