Go to "Settings" → "Users and Accounts" → "Other" → enable "Console Sharing and Offline Play" for your PSN account and your friend's account. Sign into the game share PlayStation Network account on your console or a friend's console. Restore game licenses in "Settings" → "Users and Accounts" → "Restore Licenses" → "Restore".
B9xIQ.