Dynamic scaling and ultrasonic attenuation in 4He near the superfluid transition point