County approves agreement for legal services