Two arginine residues in the substrate pocket predominantly control the substrate selectivity of thiocyanate hydrolase.