Apply new attribute API of libmm-common