In my opinion, both are correct. In this case "used to" means "once" and that action no longer exists in this time being. Meanwhile "to be used to" means "to get accustomed to"..
You're from VN, rite? If so, shake hand my comrade. :))
- For Teachers