Hi ironnie7i! Welcome to fishlore!
You can use activated charcoal to remove tannins (the brownish causing molecules) released by the driftwood (you may need to replace charcoal weekly for a while). Make sure it has no pathogens attached to it (boiling would help in that). If your fish thrive in lower
pH levels that you already have ( your pH is 7.4 and you want South American Cichlids), then this will certainly be good for them, otherwise (your pH is 7.4 and you want African Cichlids), be careful since driftwood usually lowers pH a bit (not likely a real risk for a pH crash).
Pepe
Santo Domingo