The new law has been criticised within the Spanish tourist industry amid fears it could break privacy guidelines.