No cause of action for damages accrues and a person may not seek contribution or indemnity for damages incurred for an error in a survey of land unless an action for damages is brought within 10 years of the survey, or within 3 years after the discovery of the error, whichever occurs first.