Even if you had disabled the audio device in the bios, once that had been fixed, you were going to have do the following:
You are going to have to be really methodical and try each and every one of these ID's to see if any work for your system.
1, 2, 3, 5, 7, 11, 13, 15, 16, 17, 18, 20, 21, 25, 27, 28, 29, 30, 34, 35, 98, 99, 100
By that I mean you will have to change the alcid=xx boot argument in the config.plist, to try each ID.
After changing the boot argument, you will need to save the config.plist, reboot the system and use the ResetNvramEntry option from the OC boot screen, to ensure that the previous ID has been removed from the system, and only the new ID is used.
Here is a link to the layout-id information for your ALC1220 codec.
Native macOS HD audio for not officially supported codecs - acidanthera/AppleALC
github.com
This shows that the first few ID's 1-7 are generic/catch all ID's created by Toleda and Mirone, which usually work for most desktop systems.
Those ID's 11 and higher are custom ID's that other users have created for specific systems.
So in your case layout-id 27 & 30 are from similar Z370 Gigabyte systems. I thought one of these would be a good option to try with your system.