[BUGFIX] Use core functions to get correct backend layout

Must be tested for 6.0 and 6.1 as well, since it might be
working for 6.2 only

Follow up for: #53322

Change-Id: I80100f5d035b0b987a27b406a57d9d47d913333c