Any natural or legal person who may be held liable under articles 1792 to 1792-4 of this code is discharged from the liabilities and guarantees incumbent on it, pursuant to articles 1792 to 1792-2, after ten years from acceptance of the works or, pursuant to Article 1792-3, on expiry of the period referred to in that article.