AMENDED AND RESTATED CREDIT AGREEMENT Dated as of December 13, 2018, by and among GOVERNMENT PROPERTIES INCOME TRUST,