Exploring the interactions between cysteine-rich peptides and proteins with metal ions