AMENDMENT NO. 4 Dated as of October 25, 1999 to MASTER LEASE AND SECURITY AGREEMENT between Rite Aid Realty Corp. and Sumitomo Bank Leasing and Finance, Inc.