; and (ii) the requestor consents to such extension. (6) If the Secretary fails to provide a written determination before the expiration of the period under paragraph (5)(A) (or any extension thereof under paragraph (5)(B)), the Secretary is deemed to have determined that the proposed use complies with section 9(a). (7) This subsection shall not apply with respect to agency actions that are subject to consultation under section 7. (8) Any use or action taken by the property owner in reasonable reliance on a written determination of compliance under paragraph (5) or on the application of paragraph (6) shall not be treated as a violation of section 9(a). (9) Any determination of compliance under this subsection shall remain effective— (A) in the case of a written determination provided under paragraph (5)(A), for the 10-year period beginning on the date the written determination is provided