The genetic defect in WD affects the ATP7B gene, which encodes the ATP7B transmembrane protein, which is essential for maintaining normal copper homeostasis in the body. Here, ATP7B is linked to Wilson disease.