SECOND AMENDED AND RESTATED CREDIT AGREEMENT Dated as of October 26, 2022 by and among CubeSmart, L.P.,