AMENDED AND RESTATED CREDIT AGREEMENT Dated as of April 15, 2021 by and among AMERICAN HOMES 4 RENT, L.P.,