Detectives used encrypted messages to link William Ions to drugs conspiracy