Replace hardcoded square brackets by message brackets

* Rename $temp into $attribs

Change-Id: Id8792f9e6d0de6460a5c6a4ae34b8a745fe2409e
Merge "Replace hardcoded square brackets by message brackets"