On generalized crossed product and Brauer group