In the case of any term loan made by an employer to an employee the proceeds of which are used by the employee to purchase a principal residence (within the meaning of section
121), the determination of the applicable Federal rate shall be made as of the date the written contract to purchase such residence was entered into.