AMENDED AND RESTATED MASTER SENIOR SECURED NOTES NOTE PURCHASE AGREEMENT Dated as of: October 20, 2021 Relating to: Up to $550,000,000 7.50% Senior Secured Notes of WeWork Companies LLC between WeWork Companies LLC, WW Co-Obligor Inc. and StarBright WW LP