The plastic housing for the air filter on my Chevrolet Matiz (2006) is damaged. The unit itself is still sealed, but the plastic arms which secure it to the body of the car have snapped- so the unit is loose. It looks like there has been a repair to these arms before.

No idea how or when this happened, or how long I have been driving like this, but I have done a lot of driving over the Christmas period.
Is it safe to drive with it like this? What are my options here? Does the whole plastic unit need replacing? Could I use something to glue/cement the arms? Could I repair this myself? Where can I source parts?