(2) Every assignment of sheriffs’ certificates of sale of real property on execution or mortgage foreclosure which is not recorded in the records of deeds in the county where the land is situated within five days after its execution is void as against any subsequent purchaser in good faith and for a valuable consideration of such certificate of sale, or the real property covered thereby, or any portion thereof, whose assignment is first recorded. [Amended by 1973 c.696 §19; 1977 c.605 §2; 1987 c.225 §1; 1989 c.516 §1]