After a bit of research on .mp3 files, I found out that the ContentProvider itself, after scanning the .mp3 files, tries to read its ID3v2 tags.
If there is no tag or there is no title frame in it, then the file name without the extension is set as the TITLE column in the MediaStore. If the tags are in place, then the corresponding fields in the MediaStore are filled.
For example, the ARTIST field is filled with the value of the TPE1 or TP1 frame (depending on the frame version), which is responsible for the artist's name. If there is one, of course.
Thus, the solution can be direct editing of the tags inside the .mp3 file using some parser. After that, force the content provider to rescan this file using MediaScannerConnection. You can find how to use MediaScannerConnection to scan updated file here: Android How to use MediaScannerConnection scanFile.