Form of the memory function for a degenerate electron gas with elastic scatterers