Fix incorrect function name in hash db code error messages