Hi, no - the SL licence will not work within Avast Mobile Security (AMS), on the other hand the Ultimate licence will work in the SL app (if you type in the code).
In general, the SL app offers more options than the VPN within AMS (trusted networks, connection rules). Later you won't need separate SecureLine subscription - when it expires, use just the Ultimate licence.