The owner of any such building or structure in process of erection or being altered or repaired, other than the person by whom or in whose behalf a contract for labor or materials has been made, may prevent the attaching of any lien for labor thereon not at the time performed or materials not then furnished by giving notice, in writing, to the person performing or furnishing such labor or furnishing such materials that he will not be responsible therefor.
S.C. Code § 29-5-80